<!DOCTYPE html>
<html>
<head>
    <title>司机提现管理</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="../../css/bootstrap.min.css">
    <link rel="stylesheet" href="../../css/font-awesome.min.css">
    <link rel="stylesheet" href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
    <link rel="stylesheet" href="../../plugins/ztree/css/metroStyle/metroStyle.css">
    <link rel="stylesheet" href="../../css/main.css">
    <link rel="stylesheet" href="https://unpkg.com/element-ui@1.4.1/lib/theme-default/index.css">
    <script src="../../libs/jquery.min.js"></script>
    <script src="../../plugins/layer/layer.js"></script>
    <script src="../../libs/bootstrap.min.js"></script>
    <script src="../../libs/vue.min.js"></script>
    <script src="../../libs/utilsjs.js"></script>
    <script src="../../plugins/jqgrid/grid.locale-cn.js"></script>
    <script src="../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
    <script src="../../plugins/ztree/jquery.ztree.all.min.js"></script>
    <script src="../../js/common.js"></script>
    <script src="https://unpkg.com/element-ui@1.4.1/lib/index.js "></script>
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <div class="form-group col-sm-4">
                <input type="text" class="form-control" v-model="sjTixian.branchCompany"
                       @click="BranchCompanySelect"
                       placeholder="所属分公司"/>
            </div>
            <div class="form-group col-sm-4">
                <input type="text" class="form-control" v-model="sjTixian.netPoint"
                       @click="BranchPointSelect"
                       placeholder="所属网点"/>
            </div>
            <div class="form-group col-sm-4">
                <input type="text" class="form-control" v-model="sjTixian.realname" placeholder="司机姓名"/>
            </div>


            <div class="form-group col-sm-3">
                    <el-date-picker v-model="sjTixian.startCreateTime" type="date" style="width:370px"
                                    placeholder="提现申请开始时间"></el-date-picker>
            </div>
            <div class="form-group col-sm-3">
                    <el-date-picker v-model="sjTixian.endCreateTime" type="date" style="width:370px"
                                    placeholder="提现申请截止时间"></el-date-picker>
            </div>
            &nbsp;&nbsp;
            <a class="btn btn-primary" @click="query">查询</a>
            <a class="btn btn-primary" @click="empty">清空筛选</a>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
            <div class="form-group">
                <div class="col-sm-2 control-label">姓名</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="sjTixian.realname" placeholder="提现人姓名" readonly="readonly"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">提现金额</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="sjTixian.money" placeholder="提现金额" readonly="readonly"/>
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-2 control-label">提现实际到账</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="sjTixian.actualAccount" placeholder="提现实际到账" readonly="readonly"/>
                </div>
            </div>



            <div class="form-group">
                <div class="col-sm-2 control-label">审核人</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="sjTixian.examinerId" placeholder="审核人"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">审核时间</div>
                <div class="col-sm-10">
                    <el-date-picker v-model="sjTixian.examineTime" type="date" style="width:580px;"
                                    placeholder="审核时间"></el-date-picker>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">审核原因</div>
                <div class="col-sm-10">
                    <textarea  rows="10" class="form-control" v-model="sjTixian.remark" placeholder="审核原因" ></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="通过"/>
                <input type="button" class="btn btn-primary" @click="saveOrUpdateNo" value="不通过"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<!----------------------------分公司选择窗口------------------------------------->
<div id="windowBranchCompany" hidden="true">
    <div id="rrappBranchCompany">
        <div v-show="showList">
            <div class="grid-btn">
                <a class="btn btn-primary btn-sm" id="addBranchCompany">确定</a>
                <a class="btn btn-primary btn-sm" id="closeBranchCompany">关闭</a>
            </div>
            <table id="jqGridBranchCompany"></table>
            <div id="jqGridPagerBranchCompany"></div>
        </div>
    </div>
</div>

<!----------------------------网点选择窗口------------------------------------->
<div id="windowNetPoint" hidden="true">
    <div id="rrappNetPoint">
        <div v-show="showList">
            <div class="grid-btn">
                <a class="btn btn-primary btn-sm" id="addNetPoint">确定</a>
                <a class="btn btn-primary btn-sm" id="closeNetPoint">关闭</a>
            </div>
            <table id="jqGridNetPoint"></table>
            <div id="jqGridPagerNetPoint"></div>
        </div>
    </div>
</div>
<script src="../../js/modules/sjtixian/sjtixian.js"></script>
<style type="text/css">
    .SelectBG{
        background-color:#AAAAAA;
    }
</style>
</body>
</html>